<html>
    <head>
            <title>BOM编程中的window对象</title>
            <meta charset="UTF-8">
            <script type="text/javascript">
            function back(){
                window.history.back();
            }
                
            
            </script>
        <body>
            <!--
                <input type="button" value="back" onclick="window.history.back();"/>
                <input type="button" value="back" onclick="window.history.go(-1);"/>
            -->
            <input type="button" value="back" onclick="back();"/>
            
        </body>
    </head>
</html>